﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="result.aspx.cs" EnableEventValidation="true"
    Async="true" Inherits="savings_result" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <link rel="icon" href="/favicon.png" />
    <%--<link rel="stylesheet" type="text/css" href="/savings/css/style.css" />--%>
    <link rel="stylesheet" type="text/css" href="/savings/css/foundation.css" />
    <link rel="stylesheet" type="text/css" href="/savings/css/jPushMenu.css" />

    <script src="/includes/ValidationError-NEW.js" type="text/javascript"></script>

    <script src="/includes/ValidationEffect-NEW.js" type="text/javascript"></script>

    <script src="/savings/js/modernizr.custom.js" type="text/javascript"></script>

    <!--load jQuery, required-->

    <script src="/savings/js/jquery-1.9.1.min.js" type="text/javascript"></script>

    <!--load jPushMenu, required-->

    <script src="/savings/js/jPushMenu.js" type="text/javascript"></script>

    <!--call jPushMenu, required-->
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" EnablePartialRendering="true" runat="server">
    </asp:ScriptManager>
    <nav class="cbp-spmenu cbp-spmenu-vertical cbp-spmenu-left">
        <div style="padding: 20px 20px;">
            <div class="top20">
                <div class="tx-email">
                    <%=GetGlobalResourceObject("FWD", "Email")%></div>
                <div class="tx-white">
                    <asp:ValidationSummary ID="vsEmailme" runat="server" ValidationGroup="emailme" ShowSummary="True"
                        HeaderText="<%$Resources:FWD,CompleteHighlight %>" />
                </div>
            </div>
            <div class="top20">
                <div class="tx-white">
                    <%=GetGlobalResourceObject("CarInsurance", "FullName")%><span style="color: #FF0004">*</span></div>
                <div class="top10">
                    <asp:TextBox ID="txtEmailMeName" MaxLength="50" runat="server" CssClass="in-style"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvEmailMeName" runat="server" ValidationGroup="emailme"
                        CssClass="validationError" ErrorMessage="" Text="" ControlToValidate="txtEmailMeName"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revEmailMeName" runat="server" ValidationGroup="emailme"
                        CssClass="validationError" ValidationExpression="^([\u0000-\uDFFF']{1,50})$|^([a-zA-Z''-'\s]{1,50})$"
                        ControlToValidate="txtEmailMeName" ErrorMessage=""></asp:RegularExpressionValidator>
                </div>
            </div>
            <div class="top20">
                <div class="tx-white">
                    <%=GetGlobalResourceObject("FWD", "Email")%><span style="color: #FF0004">*</span></div>
                <div class="top10">
                    <asp:TextBox ID="txtEmailMeEmail" runat="server" MaxLength="100" CssClass="in-style"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvEmailMeEmail" runat="server" Text="" ValidationGroup="emailme"
                        CssClass="validationError" ErrorMessage="" ControlToValidate="txtEmailMeEmail"
                        Display="Dynamic"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revEmailMeEmail" Text="" runat="server" ValidationGroup="emailme"
                        CssClass="validationError" ErrorMessage="" ControlToValidate="txtEmailMeEmail"
                        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" Display="Dynamic"></asp:RegularExpressionValidator>
                </div>
            </div>
            <div class="top20">
                <div class="tx-white">
                    <%=GetGlobalResourceObject("CarInsurance", "MobileNo")%><span style="color: #FF0004"></span></div>
                <div class="top10">
                    <asp:TextBox ID="txtEmailMeMobile" runat="server" MaxLength="10" CssClass="in-style"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="revEmailMeMobile" runat="server" ValidationGroup="emailme"
                        ValidationExpression="0[8-9]\d{8}" ControlToValidate="txtEmailMeMobile" CssClass="validationError"
                        ErrorMessage=""></asp:RegularExpressionValidator>
                    <cc1:TextBoxWatermarkExtender ID="tbwEmailMeMobile" runat="server" TargetControlID="txtEmailMeMobile"
                        WatermarkText="<%$ Resources:FWD,MobileSample%>" WatermarkCssClass="in-style">
                    </cc1:TextBoxWatermarkExtender>
                </div>
            </div>
            <div class="top10">
                <asp:Button ID="btnEmailMe" Text="<%$ Resources:ProposalForm,Submit%>" runat="server"
                    ValidationGroup="emailme" OnClientClick="LoadValidationErrorCss()" CssClass="email-btn btn"
                    AlternateText="Next" ToolTip="Next" CausesValidation="true" OnClick="btnEmailMe_Click" />
            </div>
        </div>
    </nav>
    <nav class="cbp-spmenu cbp-spmenu-vertical cbp-spmenu-right">
        <div style="padding: 20px 20px;">
            <div class="top20">
                <div class="tx-email">
                    <%=GetGlobalResourceObject("FWD", "CallBack")%></div>
                <div class="tx-white">
                    <asp:ValidationSummary ID="vsCallme" runat="server" ValidationGroup="callme" ShowSummary="True"
                        HeaderText="<%$Resources:FWD,CompleteHighlight %>" />
                </div>
            </div>
            <div class="top20">
                <div class="tx-white">
                    <%=GetGlobalResourceObject("CarInsurance", "FullName")%><span style="color: #FF0004">*</span></div>
                <div class="top10">
                    <asp:TextBox ID="txtCallMeName" MaxLength="50" runat="server" CssClass="in-style"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvCallMeName" runat="server" ValidationGroup="callme"
                        CssClass="validationError" ErrorMessage="" Text="" ControlToValidate="txtCallMeName"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revCallMeName" runat="server" ValidationGroup="callme"
                        CssClass="validationError" ValidationExpression="^([\u0000-\uDFFF']{1,50})$|^([a-zA-Z''-'\s]{1,50})$"
                        ControlToValidate="txtCallMeName" ErrorMessage=""></asp:RegularExpressionValidator>
                </div>
            </div>
            <div class="top20">
                <div class="tx-white">
                    <%=GetGlobalResourceObject("CarInsurance", "MobileNo")%><span style="color: #FF0004">*</span></div>
                <div class="top10">
                    <asp:TextBox ID="txtCallMeMobile" runat="server" MaxLength="10" CssClass="in-style"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvCallMeMobile" runat="server" ValidationGroup="callme"
                        CssClass="validationError" ErrorMessage="" Text="" ControlToValidate="txtCallMeMobile"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revCallMeMobile" runat="server" ValidationGroup="callme"
                        CssClass="validationError" ValidationExpression="0[8-9]\d{8}" ControlToValidate="txtCallMeMobile"
                        ErrorMessage=""></asp:RegularExpressionValidator>
                    <cc1:TextBoxWatermarkExtender ID="tbwCallMeMobile" runat="server" TargetControlID="txtCallMeMobile"
                        WatermarkText="<%$ Resources:FWD,MobileSample%>" WatermarkCssClass="in-style">
                    </cc1:TextBoxWatermarkExtender>
                </div>
            </div>
            <div class="top20">
                <div class="tx-white">
                    <%=GetGlobalResourceObject ("CarInsurance","CallMeAt") %><span style="color: #FF0004">*</span></div>
                <div class="top10">
                    <asp:DropDownList Font-Size="12px" runat="server" ID="ddlCallMeTime" class="instyle-drop">
                        <asp:ListItem Value="-1" Text="<%$Resources:CarInsurance,Select %>" />
                        <asp:ListItem Value="1" Text="<%$Resources:CarInsurance,CallMeMorning %>" />
                        <asp:ListItem Value="2" Text="<%$Resources:CarInsurance,CallMeAfternoon %>" />
                        <asp:ListItem Value="3" Text="<%$Resources:CarInsurance,CallMeEvening %>" />
                        <asp:ListItem Value="4" Text="<%$Resources:CarInsurance,CallMeAnytime %>" />
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="rfvCallMeTime" runat="server" ValidationGroup="callme"
                        Display="Dynamic" CssClass="validationError" ErrorMessage="" Text="" InitialValue="-1"
                        ControlToValidate="ddlCallMeTime"></asp:RequiredFieldValidator>
                </div>
            </div>
            <div class="top20">
                <div class="tx-white">
                    <%=GetGlobalResourceObject("FWD", "Email")%><span style="color: #FF0004"></span></div>
                <div class="top10">
                    <asp:TextBox ID="txtCallMeEmail" runat="server" MaxLength="100" CssClass="in-style"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="revCallMeEmail" Text="" runat="server" ValidationGroup="callme"
                        CssClass="validationError" ErrorMessage="" ControlToValidate="txtCallMeEmail"
                        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" Display="Dynamic"></asp:RegularExpressionValidator>
                </div>
            </div>
            <div class="top10">
                <asp:Button ID="btnCallMe" Text="<%$ Resources:ProposalForm,Submit%>" runat="server"
                    ValidationGroup="callme" CssClass="email-btn btn" OnClientClick="LoadValidationErrorCss()"
                    AlternateText="Next" ToolTip="Next" CausesValidation="true" OnClick="btnCallMe_Click" />
            </div>
        </div>
    </nav>
    <div class="result-bg">
        <div class="row">
            <div class="six columns">
                <asp:HyperLink runat="server" ID="hplHome" NavigateUrl=""><img src="/savings/images/logo-gluaygluay.png" alt="" /></asp:HyperLink>
                <img src="<%=GetGlobalResourceObject("FWD", "ImgFWDLogo")%>" alt="" />
            </div>
            <div class="one columns" style="margin-top: 10px;">
                <asp:ImageButton ID="ibtnLanguage" runat="server" ImageUrl="/savings/images/icon_en.png"
                    AlternateText="" OnClick="ibtnLanguage_Click" />
                <asp:Label runat="server" ID="lblLanguage" Visible="false" />
                <asp:HiddenField ID="hdnLanguage" runat="server" />
            </div>
        </div>
        <div class="row">
            <div class="twelve columns tx-title-result re-intro">
                <%=GetGlobalResourceObject("FWD", "Results")%>
            </div>
            <div class="tx-title-sm">
                <%=GetGlobalResourceObject("FWD", "SaveProtect")%></div>
        </div>
        <div class="row tx-white" style="margin-top: 100px">
            <div class="left">
                <a href="" runat="server" id="aHome">
                    <img src="/savings/images/arrow-back.png" alt="" /></a></div>
            <div class="left" style="padding-top: 8px; padding-left: 5px;">
                <a class="back" href="" runat="server" id="aTextHome">
                    <%=GetGlobalResourceObject("FWD", "SearchAgain")%></a>
            </div>
        </div>
    </div>
    <asp:UpdatePanel ID="uplCarResult" runat="server">
        <ContentTemplate>
            <div class="row top20">
                <div class="seven columns result-img">
                    <div align="center" class="bubblle-top">
                        <div style="text-align: center;">
                            <span class="result-tx-sm">
                                <%=GetGlobalResourceObject("FWD", "MaturityBenefit")%></span>
                            <br />
                            <span class="result-tx-big">
                                <asp:Label ID="lblMaturityBenefit" runat="server"></asp:Label></span>
                        </div>
                    </div>
                    <div align="center" class="bubblle-left">
                        <div style="width: 150px; margin: auto; text-align: center;">
                            <span class="result-tx-sm">
                                <%=GetGlobalResourceObject("FWD", "TotalSavings")%></span>
                            <br />
                            <span class="result-tx-big">
                                <asp:Label ID="lblTotalSavings" runat="server"></asp:Label></span>
                        </div>
                    </div>
                    <div align="center" class="bubblle-left2">
                        <div style="width: 150px; margin: auto; text-align: center;">
                            <span class="result-tx-sm">
                                <%=GetGlobalResourceObject("FWD", "AnnualSavings")%></span>
                            <br />
                            <span class="result-tx-big">
                                <asp:Label ID="lblAnnualSavings" runat="server"></asp:Label></span>
                        </div>
                    </div>
                </div>
                <div class="five columns" style="margin-top: 50px; padding-left: 50px;">
                    <div class="main">
                        <section>
                            <div class="ten ">
                                <button type="submit" class="email-btn btn toggle-menu menu-left push-body " runat="server">
                                    <%=GetGlobalResourceObject("FWD", "Email")%></button>
                            </div>
                            <div class="ten top20">
                                <button type="submit" class="call-btn btn toggle-menu menu-right push-body" runat="server">
                                    <%=GetGlobalResourceObject("FWD", "CallBackRequest")%></button>
                            </div>

                            <script>
                                jQuery(document).ready(function($) {
                                    $('.toggle-menu').jPushMenu();
                                });
                            </script>

                        </section>
                    </div>
                    <div style="margin-top: 30%;">
                        <div class="twelve columns" style="text-align: center;">
                            <div>
                                <img src="/savings/images/call-ico-black.png" alt="" /></div>
                            <div class="tx-call top10">
                                02 268 8788</div>
                            <div class="tx-call-sm">
                                <%=GetGlobalResourceObject("FWD", "Hotline")%></div>
                        </div>
                    </div>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <asp:HiddenField runat="server" ID="hdnSelectFWD" Value="0" />
    <div class="foot-bg">
        <div class="tx-white row ">
            (C) 2014 GluayGluay.com - All rights reserved</div>
    </div>
    </form>
</body>
</html>
